package com.wyl.showtype.basic.geo.geojson;

import java.util.Map;

/**
 * @author 吴宇亮 on 2023/4/21 10:33
 */
public class GeoFeature extends GeoJson {

    private GeoTypeEnum type = GeoTypeEnum.Feature;

    private GeoGeometry geometry;

    private Map<String, Object> properties;

    @Override
    public GeoTypeEnum getType() {
        return type;
    }

    public GeoGeometry getGeometry() {
        return geometry;
    }

    public GeoFeature setGeometry(GeoGeometry geometry) {
        this.geometry = geometry;
        return this;
    }

    public Map<String, Object> getProperties() {
        return properties;
    }

    public GeoFeature setProperties(Map<String, Object> properties) {
        this.properties = properties;
        return this;
    }
}
